package main

import (
	"ccmouse/retriever/infra"
	"fmt"
)

type Retriever interface {
	Get(url string) string
}

func getRetriever() Retriever {
	return &infra.Retriever{}
}

const url = "https://www.imooc.com"

// logic code
func main() {
	var r = getRetriever()
	fmt.Println(r.Get(url))
}
